package org.example.test3;

class p implements Runnable {
    private s s1;
    private int i;
    public p(s s1,int i)
    {
        this.s1=s1;
        this.i=i;

    }
    public void run() {

        try {
            s1.run(i);
        }  catch(Exception e)
        {e.printStackTrace();}

    }
}

